#pragma once
#include <iostream>
#include "monster.h"
#include "sdl.h"
#include "hitQueue.h"

using namespace std;
class player
{
public:
	player();
	~player();
	void lvlUp(TTF_Font *font, SDL_Color textColor);
	float xVel;
	float yVel;
	float x;
	float y;
	hitQueue levelQ;
	SDL_Rect box;
	SDL_Rect range;
	SDL_Rect HBar;
	SDL_Rect EBar;
	void move(int deltaTicks);
	float dextarity;
	float crit;
	float damage;
	int xp;
	int level;
	int maxXp;
	float health;
	int strength;
	float dodgeChance;
	float maxHealth;
	float armor;
	void playerDamage(monster *mob, hitQueue *log, TTF_Font *font, SDL_Color textColor);
	bool swingDelay;
	int hpot;
	void updateBars();

};
